package com.example.mrweather;

import java.util.List;

public class ForecastData {
    private List<ForecastItem> list;

    public static class ForecastItem {
        private long dt;
        private Main main;
        private List<Weather> weather;
        private Wind wind;

        public static class Main {
            private double temp;
            private int humidity;
            private double pressure;

            public double getTemp() { return temp; }
            public int getHumidity() { return humidity; }
            public double getPressure() { return pressure; }
        }

        public static class Weather {
            private String description;
            private String icon;

            public String getDescription() { return description; }
            public String getIcon() { return icon; }
        }

        public static class Wind {
            private double speed;

            public double getSpeed() { return speed; }
        }

        public long getDt() { return dt; }
        public Main getMain() { return main; }
        public List<Weather> getWeather() { return weather; }
        public Wind getWind() { return wind; }
    }

    public List<ForecastItem> getList() { return list; }
}